{$t(amount < 0 ? 'payments.sent' : 'payments.received')}

{#if p.with}
{amount > 0 ? 'From' : 'To'}
{p.with.username}
{/if}
Amount
{f(fiat(a, rate), currency)} {#if tip} + {f(fiat(tip, rate), currency)} {/if} ⚡️{`${s(a)}`} {#if tip} + ⚡️{s(tip)} {/if}
Network fee
{f(fiat(fee, rate), currency)} ⚡️{`${s(fee)}`}
{#if ourfee > 0}
Platform fee
{f(fiat(ourfee, rate), currency)} ⚡️{`${s(ourfee)}`}
{/if}
Date
{format(new Date(created), 'MMMM d')}, {format(new Date(created), 'h:mm aaa')}
{#if type === 'bitcoin'}
Txid
{id}
{/if}